<include file="Public/head.html" /> 
 <form action="{:U('admin.php/user/update')}" method="post" class="form-horizontal" enctype="multipart/form-data">  
	<input type="hidden" name="zhr_id" value="{$one.zhr_id}"></input>
    <div class="form-group">
    	<label class="col-sm-2 control-label">用户名</label>
    	<div class="col-sm-5">
    	   <input type="text" name="zhr_username" class="form-control"  value="{$one.zhr_username}" required></input>
        </div>
    </div>
    <div class="form-group">
    	<label class="col-sm-2 control-label">密码</label>
        <div class="col-sm-5">
           <input type="password" class="form-control" name="zhr_password" id="zhr_pass" value="{$one.zhr_pass}" required></input>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">邮箱</label>
    	<div class="col-sm-5">
            <input type="email" class="form-control" name="zhr_email" id="zhr_email" value="{$one.zhr_email}"></input>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">电话号码</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="zhr_tele" id="zhr_tele" value="{$one.zhr_tele}"></input>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">真实姓名</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="zhr_realname" id="zhr_realname" value="{$one.zhr_realname}"></input>
        </div>
    </div>
    <div class="form-group">
        <label for="zhr_photo" class="col-sm-2 control-label">原头像</label>
        <div class="col-sm-5">
           <img src="__PUBLIC__/Uploads/{$one.zhr_photo}" width="100px">
        </div>
    </div>
    <div class="form-group">
        <label for="picture" class="col-sm-2 control-label">更改头像</label>
        <div class="col-sm-5">
            <input type="file" name="zhr_photo" class="form-control"></input>
        </div>
    </div>
    <div class="form-group">
        <label for="zhr_intro" class="col-sm-2 control-label">自我介绍</label>
        <div class="col-sm-5">
            <textarea name="zhr_intro" class="form-control"  value="{$one.zhr_intro}" rows="3"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">是否为明星</label>
        <div class="col-sm-5">
            <label class="radio-inline"><input type="radio" name="isstar"  value="1" <?php if('{$one.zhr_isstar}'==1) echo 'checked'?>>是</label>
            <label class="radio-inline"><input type="radio" name="isstar"  value="0" <?php if('{$one.zhr_isstar}'==0) echo 'checked'?>>否</label>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">信息首页显示</label>
        <div class="col-sm-5">
            <label class="radio-inline"><input type="radio" name="isfirst"  value="1" <?php if('{$one.zhr_isfirst}'==1) echo 'checked'?>>是</label>
            <label class="radio-inline"><input type="radio" name="isfirst"  value="0" <?php if('{$one.zhr_isfirst}'==0) echo 'checked'?>>否</label>
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="col-sm-2 control-label">国籍</label>
        <div class="col-sm-5">
          <select class="form-control" name="state">
            <option value='中国'>中国</option>
            <option value='美国'>美国</option>
            <option value='韩国'>韩国</option>
            <option value='日本'>日本</option>
            <option value='俄罗斯'>俄罗斯</option>
            <option value='法国'>法国</option>
            <option value='德国'>德国</option>
            <option value='英国'>英国</option>
            <option value='澳大利亚'>澳大利亚</option>
            <option value='意大利'>意大利</option>
            <option value='土耳其'>土耳其</option>
            <option value='泰国'>泰国</option>
          </select>
        </div>
    </div> -->
    <div class="form-group">
        <label for="intro" class="col-sm-2 control-label">通知信息</label>
        <div class="col-sm-5">
            <input name="zhr_veryfyinfo" class="form-control" id="zhr_veryfyinfo" value="{$one.zhr_veryfyinfo}"></input>
        </div>
    </div>
    <div class="form-group"> 
        <div class="col-sm-offset-2 col-sm-5">
            <button type="submit" class="btn btn-default">确定</button>
            <button type="reset" class="btn btn-default">重置</button>
        </div> 	 
    </div> 		
</form>
<include file="Public/footer.html" /> 